package com.luoran.bartalks.dao;

import java.util.List;

import org.beetl.sql.core.annotatoin.Param;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.mapper.BaseMapper;

import com.luoran.bartalks.entity.BaseInfo;
import com.luoran.bartalks.entity.biz.BtPackingList;

public interface IBtPackingListDao extends BaseMapper<BtPackingList> {

	void queryPage(PageQuery<? extends BaseInfo> pageQuery);

	// 根据计划id查询是否有箱单
	List<BtPackingList> findPackingListByPlanId(@Param("planId") String planId);

	int checkByPackingListIdAndPlanId(@Param("packingListId") String PackingListId, @Param("planId") String planId,
			@Param("companyId") String companyId);

}
